const db = require('./db/db')
const carModel = require('./models/CarModel')
db(() => { 
  carModel.insertMany([{
    name:'uni-v 2.0 领速',
    brand:'长安',
    VIN:'456465156',
    price:'13.99'
  },{
    name:'领克03',
    brand:'领克',
    VIN:'156465',
    price:12.59
  }])
  .then((data) => { 
    console.log('添加成功',data)
   })
 },() => { 
    console.log('连接失败')
  })